package com.gigalaxy.apps.starcom.flight
{
	import com.gigalaxy.apps.starcom.flight.cfg.URLConfigs;

	import spark.components.ViewNavigator;

	public class GGGlobalConfigs
	{
		private static var inited:Boolean = false;
		public static var urlConfig:URLConfigs;
		public static var navigator:ViewNavigator;

		public static function initData():void
		{
			if (!inited)
			{
				inited = true;

				urlConfig = new URLConfigs();
				urlConfig.ld = "http://api.iflyvietnam.com/touch/listdep.htm";
				urlConfig.lr = "http://api.iflyvietnam.com/touch/listret.htm";
				urlConfig.sf = "http://api.iflyvietnam.com/touch/searchflight.htm";
				urlConfig.bf = "http://api.iflyvietnam.com/touch/reservation.htm";
				urlConfig.rg = "http://api.iflyvietnam.com/touch/register.htm";
				urlConfig.lg = "http://api.iflyvietnam.com/touch/login.htm";
				urlConfig.fs = "http://api.iflyvietnam.com/touch/check.htm";
			}
		}
	}
}
